<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<isperp:grid url="individuation/individuation/listDetail" gridId="individuationProcess"
	processKey="individuationProcess" sortname="code" sortorder="desc"
	ondbClickRowEvent="individuationProcess.edit(rowid);"
	cusViewUrl="individuation/individuation/view" autoReloadTreeMenu="individuationMenu"
	excelExportUrl="individuation/individuation/excelExport">

	<jsp:attribute name="toolbar">
	<isperp:treeMenu id="individuationMenu" targetGridId="individuationProcess">
		<isperp:async enable="true" url="individuation/individuation/processMenu"></isperp:async>
		<isperp:callback onClick="individuationMenuTree_onNodeClick"
				onAsyncSuccess="individuationMenuTree_onNodeClickFirst();">
		</isperp:callback>
	</isperp:treeMenu>
	<isperp:toolbar id="userToolbar">
		<%-- <isperp:button id="userEdit" icon="icon-download" text="导出到Excel"
				onclick="individuationProcess.excelExport();"></isperp:button> --%>
	</isperp:toolbar>
	</jsp:attribute>

	<jsp:attribute name="searchbar">
	<table class="search-table">
		<tbody>
			<tr>
				<td class="td1">编号：</td>
				<td class="td2"><input type="text" field="code" op="cn">
					</td>
				<td class="td1">标题：</td>
				<td class="td2"><input type="text" field="description" op="cn">
					</td>
				<td class="td1">类型：</td>
				<td class="td2"><input type="text" field="process_name" op="cn">
				</td>
			</tr>
			<tr>
				
				<td class="td1">创建时间：</td>
				<td class="td2" colspan="5"><input id="createDateStart"
						type="date" field="create_date" op="gt" style="width: 68px" />~<input
						id="createDateEnd" type="date" field="create_date" op="lt"
						style="width: 68px" />
					</td>
			</tr>
		</tbody>
	</table>
	</jsp:attribute>
	<jsp:body>
	
	<isperp:column name="id" title="id" hidden="true" ></isperp:column>
	<isperp:column name="code" title="编号" width="100">
	</isperp:column>
	<isperp:column name="process_name" title="类型" width="100">
	</isperp:column>
	<isperp:column name="process_key" title="类型Key" width="100"  showInHead="false" hidden="true">
	</isperp:column>
	<isperp:column name="process_id" title="流程ID" width="100"  showInHead="false" hidden="true">
	</isperp:column>
	<isperp:column name="description" title="描述" width="100" showInHead="true">
	</isperp:column>
	<isperp:column name="create_date" title="报障时间" width="100">
	</isperp:column>
	<isperp:column name="status" title="状态" width="80">
	</isperp:column>
	</jsp:body>
</isperp:grid>
